home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateTemplateDialog.z / XmCreateTemplateDialog
Encoding:
Text File  |  2003-11-18  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeTTTTeeeemmmmppppllllaaaatttteeeeDDDDiiiiaaaalllloooogggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_T_e_m_p_l_a_t_e_D_i_a_l_o_g - A MessageBox    TemplateDialog
  10.       convenience creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/MessageB.h>
  14.  
  15.       Widget XmCreateTemplateDialog    (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,,    aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_T_e_m_p_l_a_t_e_D_i_a_l_o_g is a convenience creation function
  23.       that creates a DialogShell and an unmanaged MessageBox child
  24.       of the DialogShell. The MessageBox widget's _X_m_N_d_i_a_l_o_g_T_y_p_e
  25.       resource is set to _X_m_D_I_A_L_O_G__T_E_M_P_L_A_T_E.     By default, the
  26.       TemplateDialog widget    contains only the separator child.
  27.       You can build    a customized dialog by adding children to the
  28.       TemplateDialog.
  29.  
  30.       You can create the standard MessageBox pushbuttons, _C_a_n_c_e_l,
  31.       _H_e_l_p,    and _O_K,    by specifying the associated callback and
  32.       label    string resources.  Setting _X_m_N_s_y_m_b_o_l_P_i_x_m_a_p or
  33.       _X_m_N_m_e_s_s_a_g_e_S_t_r_i_n_g creates a symbol or message label.
  34.  
  35.       Use _X_t_M_a_n_a_g_e_C_h_i_l_d to pop up the TemplateDialog (passing the
  36.       MessageBox as    the widget parameter); use _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d to
  37.       pop it down.
  38.  
  39.       ppppaaaarrrreeeennnntttt
  40.            Specifies the parent widget ID
  41.  
  42.       nnnnaaaammmmeeee Specifies the name of the created widget
  43.  
  44.       aaaarrrrgggglllliiiisssstttt
  45.            Specifies the argument list
  46.  
  47.       aaaarrrrggggccccoooouuuunnnntttt
  48.            Specifies the number of attribute/value pairs in    the
  49.            argument    list (aaaarrrrgggglllliiiisssstttt)
  50.  
  51.       For a    complete definition of MessageBox and its associated
  52.       resources, see _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  53.  
  54.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  55.       Returns the MessageBox widget    ID.
  56.  
  57.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  58.       _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.